package drds.datasource.connection_pool.api;

import java.math.BigDecimal;
import java.sql.ParameterMetaData;
import java.sql.ResultSetMetaData;


public interface PreparedStatement extends Statement {


    void setNull(int parameterIndex, int sqlType) throws SqlException;


    void setString(int parameterIndex, String x) throws SqlException;

    void setBigDecimal(int parameterIndex, BigDecimal x) throws SqlException;

    void setInt(int parameterIndex, int x) throws SqlException;


    void setLong(int parameterIndex, long x) throws SqlException;

    void setDate(int parameterIndex, java.sql.Date x)
            throws SqlException;

    void setTime(int parameterIndex, java.sql.Time x)
            throws SqlException;

    void setTimestamp(int parameterIndex, java.sql.Timestamp x)
            throws SqlException;

    void setObject(int parameterIndex, Object x) throws SqlException;

    void clearParameters() throws SqlException;

    ParameterMetaData getParameterMetaData() throws SqlException;

    //
    ResultSet executeQuery() throws SqlException;

    ResultSetMetaData getResultSetMetaData() throws SqlException;

    //
    int executeUpdate() throws SqlException;

    void addBatch() throws SqlException;


}
